
/* The MazeTile enumerator is used to store the type of tile within the Maze data structure.
 * It is a simple enumerated type which (at the moment) has two values. WALLs and PATHs.
 * TODO enumerator functions allowing for "isNavigable" flags to be set for each tile type.
 */
public enum MazeTile {
	PATH (true),
	WALL (false);
	
	private final boolean passable;   // can the tile be moved through, or is it solid?
	MazeTile(boolean passable) {
	    this.passable = passable;
	}
	public boolean isPassable() { return passable; }
};